Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the RawStopTime size #142

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

antoine-de
Copy link
Collaborator

Change unparsed enums from u32 to u16.

This reduce the RawStopTime's size from 136 to 120.

I think unparsed values are still quite high (and higher that 65536 will trigger an error on the row, so not a huge deal).

On the FR IDF dataset, memory consumption goes from 3.9G to 3.4G.

Don't really know if the reduce value range is a problem on real datasets though

Change unparsed  enums from u32 to u16.

This reduce the RawStopTime's size from 136 to 120.

I think unparsed values are still quite high (and higher that 65536 will
trigger an error on the row, so not a huge deal).
@Tristramg Tristramg merged commit 291fd21 into rust-transit:main Sep 27, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants